package com.nega.modules.service.impl;

import com.nega.commons.model.Config;
import com.nega.modules.mapper.ConfigMapper;
import com.nega.modules.service.ConfigService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: Garcia
 * @CreateDate: 2019/5/21 1:49
 * @Description: what it is class?
 */
@Service
public class ConfigServiceImpl implements ConfigService {

    @Resource
    private ConfigMapper configMapper;

    @Override
    public String getProperty(String key) {
        return configMapper.getProperty(key);
    }
}
